package chapter14;

import java.util.ArrayList;
import java.util.List;

/**
 * description :
 * author Ahang :
 * create : 2025-10-30 21:03
 */
public class CollectionMethon {
    public static void main(String[] args) {
        List<Object> list = new ArrayList<>();
//        add添加单个元素
        list.add("joker");
        list.add(10);
        list.add(true);
        System.out.println("list = " + list);
        
    }
}
